package com.book.system.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDate;


/**
 * lend_list
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LendList implements Serializable {

    /**
     * 序列化版本号
     */
    private static final long serialVersionUID = 1L;

    /**
     *  借阅编号
     */
    private Integer serNum;

    /**
     * 图书编号
     */
    private Integer bookId;
    /**
     * 读者编号
     */

    private Integer readerId;

    /**
     * 借阅日期
     */
//    private Date lendDate;
    private LocalDate lendDate;

    /**
     * 归还日期
     */
    private LocalDate backDate;

    /**
     * 是否归还
     */
    private Integer flag;

    /**
     * 是否超期
     */
    private Integer lossflag;

    /**
     * 超期天数
     */
//    private Date lossDate;
    private LocalDate lossDate;

    /**
     * 缴纳金额
     */
//    private Date payDate;
    private LocalDate payDate;
}